﻿using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace NoteMvvmApp.Models;

public class Note
{
    public string Title { get; set; } = default!;
    public string Content { get; set; } = default!;
    public DateTime CreateTime { get; set; } = DateTime.Now;
    public DateTime UpdateTime { get; set; } = DateTime.Now;

    public ObservableCollection<Note> Notes { get; set; } = new ObservableCollection<Note>(); // 添加 Notes 属性
}
